import request from '@/utils/request'
export function getYzmApi(PhoneNum: string) {
    return request.get('/sms/send/' + PhoneNum)
}
export function loginApi(PhoneNum: string, code: string) {
    return request.post('/user/login', {
        phone: PhoneNum,
        code: code
    })
}
// 生成微信登陆二维码的api
export function getWxCodeApi(url: string) {
    return request.get('/user/weixin/getLoginParam/' + `?wxRedirectUri=${url}`)
}